<%--
  Created by IntelliJ IDEA.
  User: naojiang
  Date: 2017/7/13
  Time: 20:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
    <title>权限管理系统</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Document</title>
    <link rel="stylesheet" href="css/bootstrap.css">
    <script src="js/jquery.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script>

    <style>
        body{
            background-color: #C7EDCC;
            font-family: "microsoft yahei";
            /*min-width: 800px;*/
        }
        img{
            width: 100%;
            /*height: 462px;*/
        }
        .navbar{
            /*margin-bottom: -10px;*/
        }
        #myppt{
            margin-top: -20px;

        }
    </style>
</head>
<body>
<div id="update" class="modal fade" tabindex="-1">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-body">
                <button class="close" data-dismiss="modal">
                    <span>&times;</span>
                </button>
            </div>
            <div class="modal-title">
                <h1 class="text-center">修改</h1>
            </div>
            <div class="modal-body">
                <form class="form-group" name="form2" action="/user/update" method="post">
                    <div class="form-group">
                        <label>用户名</label>
                        ${username}<input type="hidden" name="username" value=${username}>
                    </div>
                    <div class="form-group">
                        <label>密码</label>
                        <input class="form-control" type="password" name="password" placeholder="至少6位字母或数字">
                    </div>
                    <div class="form-group">
                        <label>再次输入密码</label>
                        <input class="form-control" type="password" name="password"  placeholder="至少6位字母或数字">
                    </div>
                    <div class="form-group">
                        <label>昵称</label>
                        <input class="form-control" type="text"  name="nickname" placeholder="请输入昵称">
                    </div>
                    <div class="form-group">
                        <label>性别</label>
                        <input type="radio" name="sex" value="male" >男
                        <input type="radio" name="sex" value="female">女</input>
                    </div>
                    <div class="form-group">
                        <label>地址</label>
                        <input class="form-control" type="text" placeholder="请输入地址">
                    </div>
                    <div class="text-right">
                        <button class="btn btn-primary" type="submit">提交</button>
                        <button class="btn btn-danger" data-dismiss="modal">取消</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

</body>
</html>

